package com.training.java.core.interfaces;

public class PersonDemo {

	public static void main(String[] args) {
		
		Person employee = new Employee("Shawn", 35, "Stafford");
		Person customer = new Customer("John", "Woodbridge", 29, true);
	
		execute(employee); 
		execute(customer);
	}
	
		private static void execute(Person person)
		{
			person.showInfo();
			person.employmentStatus();
			person.maritalStatus();
		}

	}


